package com.tanger.permission.permission.service;

import com.tanger.common.result.ActionResult;

import java.util.Map;

/**
 * @Description 权限接口层
 * @Author Hchenbin
 * @Date 2022/6/28 15:02
 * @Version 1.0
 */
public interface PermissionService {

    /**
     * 权限详情查询
     * @param id
     * @param code
     * @return
     */
    ActionResult permissionInfo(Long id, String code);

    /**
     * 权限列表查询
     * @param params
     * @return
     */
    ActionResult queryPermissionList(Map<String, Object> params);

}
